package com.lagou.boot;

import com.lagou.service.IUserService;
import com.lagou.service.UserServiceImpl;

import java.util.HashMap;

public class ServerBoot {

    public static HashMap<Class, Object> beanMap = new HashMap<Class, Object>();


    public static void main(String[] args) throws InterruptedException {
        //模拟初始化beanMap
        beanMap.put(IUserService.class, new UserServiceImpl());

        //启动服务器
        UserServiceImpl.startServer("127.0.0.1",8999);
    }
}
